package com.yxq.entity;

/**
 *
 */
public class GoodsSingle
{
    private String name;						//保存商品名称
    private double price;						//保存商品价格
    private int num;							//保存商品购买数量
    private double total;                       //保存总价

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getNum() {
        return num;
    }
    public void setNum(int num) {
        this.num = num;
    }

    public double getPrice()
    {
        return price;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }

    public double getTotal()
    {
        return total;
    }

    public void setTotal(double total)
    {
        this.total = total;
    }
}
